<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="../../angular-1.5.8/angular.js"></script>
    <style>
        .box{
            width: 200px;
            height: 100px;
            border: 1px solid #000;
        }
    
    
    
    </style>
</head>
<body ng-app="one">
    
    <div ng-controller="bos">
        <input type="text" ng-model='txt'><br />
        <div class="box">{{txt}}</div><br />
    </div>
    <hr>
    <div ng-controller="mainApp">
        <input type="text" ng-model="txt"><br />
        <input type="text" ng-model="txt"><br />

    </div>
</body>
<script>

    var module=angular.module("one",[]);
    module.controller('bos',function ($scope){

    });

    module.controller('mainApp',function ($scope){

    });
</script>
</html>